package ingsw2.functionality;

public class Department extends CompositeOrganisationalUnit {

	private String name;
	
	public Department(String name) {
		this.name= name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	@Override
	public void accept(IElementVisitor visitor) {
		visitor.visitDepartment(this);
		super.accept(visitor);
	}

}
